package com.zqh.apiindeximgquery.controller;

import com.zqh.apiindeximgquery.service.ApiIndexImgQueryService;
import com.zqh.myfmmall.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description :
 * @Author :kono淇杭哒、
 * @Create 2022-03-05 23:00
 */
@RestController
@RequestMapping("indeximg/query")

public class ApiIndexImgQueryController{
    @Resource
    private ApiIndexImgQueryService apiIndexImgQueryService;

    @GetMapping("current")
    public Result current(){
        return apiIndexImgQueryService.current();
    }

    @GetMapping("sentinelTest")
    public Result sentinelTest(){
        return apiIndexImgQueryService.current();
    }
}
